package sundun.sharding.properties;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: zxl
 * @date: 2024/07/31 14:03
 **/
@Getter
@Setter
@Data
@ConfigurationProperties(prefix=ShardingJdbcProperties.PREFIX)
public class ShardingJdbcProperties {

    public static final String PREFIX="spring.shardingsphere.datasource";



    /**
     * 采用CustomComplexShardingAlgorithm分片算法
     * 默认节点数
     */
    private int nodes = 2;






}
